<main id="content-container" class="container" role="main">
<div class="row">
  <div class="col-md-4 col-md-offset-4">
    <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => "form-signin", :id => "login-form"}) do |f| %>
      <fieldset>
        <h3 class="sign-up-title" style="color:dimgray;">Welcome back! Please sign in</h3>
        <hr class="colorgraph">
        <%= f.email_field :email, :placeholder=>"Email", :class=>"form-control" %>
        <%= f.password_field :password, :placeholder=>"Password", :class=>"form-control bottom" %>
        <%= f.check_box :remember_me %>
        <%= f.label :remember_me %>
        <%= link_to "Forgot password?", new_password_path(:user), :class=>"pull-right" %>

        <%= f.submit "Login", :class => "btn btn-lg btn-success btn-block" %>
        <p class="text-center" style="margin-top:10px;">OR</p>

        <%= link_to user_omniauth_authorize_path(:facebook), {:class=>"btn btn-lg btn-block btn-social btn-facebook", :style=>"padding-left:0; text-align:center;"} do %>
          <i class="fa fa-facebook"></i><span>Sign in with Facebook</span>
        <% end %>
        <br>
        <p class="text-center">
          <%= link_to "Sign up for free account?", new_user_registration_path %>
        </p>
      </fieldset>
    <% end %>
  </div>
</div>
</main>
